<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!--自定义弹出框-->
<div id="popupLayer" class="popupdiv" style="display: none;">
	<div class="popup_show">
		<!--通用选项卡开始 以下部分可替换-->
		<div class="tabbable">
			<ul class="nav nav-tabs padding-12 tab-color-blue background-blue">
				<li class="active">
					<a data-toggle="tab" href="#home_pane">账号设置</a>
				</li>
				<li>
					<a data-toggle="tab" href="#modify_password">修改密码</a>
				</li>
			</ul>
			<div class="tab-content">
				<div id="home_pane" class="tab-pane in active">
					<div class="profile-user-info profile-user-info-striped">
						<div class="profile-info-row">
							<div class="profile-info-name">
								用户名：
							</div>
							<div class="profile-info-value">
								${SYSTEM_USER.username }
							</div>
						</div>
						<div class="profile-info-row">
							<div class="profile-info-name">
								昵称：
							</div>
							<div class="profile-info-value">
								${SYSTEM_USER.nickname }
							</div>
						</div>
						<div class="profile-info-row">
							<div class="profile-info-name">
								联系电话：
							</div>
							<div class="profile-info-value">
								${SYSTEM_USER.phone }
							</div>
						</div>
						<div class="profile-info-row">
							<div class="profile-info-name">
								用户角色：
							</div>
							<div class="profile-info-value">
								${empty roles ? "超级管理员" : roles}
							</div>
						</div>
						<div class="profile-info-row">
							<div class="profile-info-name">
								最后登录时间：
							</div>
							<div class="profile-info-value">
								<s:date name="#request.log.status.createTime" format="yyyy-MM-dd HH:mm:ss"/>
							</div>
						</div>
					</div>
				</div>
				<div id="modify_password" class="tab-pane">
					<form action="/resetmypasswd.action" id="validForm" class="form-horizontal">
						<div class="form-group">
							<label class="col-sm-2 control-label no-padding-right">原密码：</label>
							<div class="col-sm-10">
								<input name="oldPassword" type="password" datatype="s6-20" type="text" placeholder=" 请输入原始密码" class="col-xs-10 col-sm-5" />
								<span class="validform_tip"></span>
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-2 control-label no-padding-right">新密码：</label>
							<div class="col-sm-10">
								<input name="password" type="password" datatype="s6-20" type="text" placeholder=" 请输入新密码" class="col-xs-10 col-sm-5" />
								<span class="validform_tip"></span>
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-2 control-label no-padding-right">确认新密码：</label>
							<div class="col-sm-10">
								<input recheck="password" type="password" datatype="s6-20" type="text" placeholder=" 请输入确认新密码" class="col-xs-10 col-sm-5" />
								<span class="validform_tip"></span>
							</div>
						</div>
						<div class="clearfix">
							<div class="col-md-offset-3 col-md-9"> 
								<button type="submit" class="btn btn-sm btn-danger" type="button">
									<i class="ace-icon fa fa-check bigger-110"></i>
									提交
								</button>
								<button type="button" class="btn btn-sm btn-info" type="button" onclick="layer.closeAll()">
									<i class="ace-icon fa fa-close bigger-110"></i>
									取消
								</button>
							</div>
						</div>
					</form>
				</div>
			</div>
		</div>
	</div>
</div>